{% extends 'front/base.html' %}
{% from 'front/_macros.html' import pagination_widget as render_page %}
{% block content %}
    <div class="r_box">
        {% for club in club_list %}
            <li>
                <a href="{{ url_for('main.access_club', club_id=club.id) }}" target="_blank">
                    <h3>{{ club.name }}</h3>
                    <h4 style="margin-top: 1rem;">
                        <time class="article-time">{{ moment(club.create_time.date()).format('LL') }}</time>
                    </h4>
                </a>
            </li>
        {% endfor %}
        {{ render_page(pagination, endpoint, id=id)}}
    </div>
{% endblock %}